Skip to content

Conversation

@bokelley
Copy link
Contributor

Summary

Export the no-auth test helpers (test_agent_no_auth, test_agent_a2a_no_auth) and their config constants from the main adcp module. These helpers exist in adcp.testing but weren't exposed at the top level, forcing users to use a less discoverable import path.

Changes

Added 4 exports to src/adcp/__init__.py:

  • test_agent_no_auth and test_agent_a2a_no_auth (client instances)
  • TEST_AGENT_MCP_NO_AUTH_CONFIG and TEST_AGENT_A2A_NO_AUTH_CONFIG (config objects)

Users can now use: from adcp import test_agent_no_auth instead of from adcp.testing import test_agent_no_auth

🤖 Generated with Claude Code

The no-auth test helpers (test_agent_no_auth, test_agent_a2a_no_auth,
and their config constants) were added in PR #29 and exist in the
adcp.testing module, but were not exported from the main adcp module.

This meant users had to use:
  from adcp.testing import test_agent_no_auth

Instead of the expected:
  from adcp import test_agent_no_auth

This commit adds the missing exports to match the other test helpers
that are already exported.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@bokelley bokelley merged commit fb2459d into main Nov 10, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants